#include <ga_shuffler.hpp>


Public Types | |
| typedef std::vector< Thing > | ThingVector |
| typedef std::vector< Index > | IndexVector |
| typedef boost::archive::binary_oarchive | oArchive |
| The type of (output) serialization archive to use. | |
| typedef boost::archive::binary_iarchive | iArchive |
Public Member Functions | |
| gaShuffler (const Communicator &comm) | |
| Default constructor. | |
| ~gaShuffler (void) | |
| Destructor. | |
| void | operator() (ThingVector &locthings, const IndexVector &destproc) |
| Move some things to different processors. | |
| typedef boost::archive::binary_iarchive gridpack::parallel::gaShuffler< Thing, Index >::iArchive |
| typedef std::vector<Index> gridpack::parallel::gaShuffler< Thing, Index >::IndexVector |
| typedef boost::archive::binary_oarchive gridpack::parallel::gaShuffler< Thing, Index >::oArchive |
The type of (output) serialization archive to use.
| typedef std::vector<Thing> gridpack::parallel::gaShuffler< Thing, Index >::ThingVector |
| gridpack::parallel::gaShuffler< Thing, Index >::gaShuffler | ( | const Communicator & | comm | ) |
Default constructor.
| gridpack::parallel::gaShuffler< Thing, Index >::~gaShuffler | ( | void | ) |
Destructor.
| void gridpack::parallel::gaShuffler< Thing, Index >::operator() | ( | ThingVector & | locthings, | |
| const IndexVector & | destproc | |||
| ) |
Move some things to different processors.
References gridpack::parallel::Distributed::communicator(), gridpack::parallel::DistributedInterface::processor_rank(), gridpack::parallel::DistributedInterface::processor_size(), gridpack::parallel::Communicator::size(), and gridpack::parallel::Communicator::sync().
1.6.1